package com.yunhe.java.pro07.duotai;

/**
 * Created by Administrator on 2017/7/31 0031.
 */
public class Pet {
    private String name;
    public void eAt(){

        System.out.println(name+"正在吃");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {

        this.name = name;
    }
}
